package net.dgg.iboss.sc.backservice.task.constant;


/**
 * <p>@Title 生产部分常量</p>
 * <p>@Description 生产部分常量</p>
 * <p>@Version 1.0.0 版本号</p>
 * <p>@author maoquanyi</p>
 * <p>@date 2018年08月13日</p>
 * <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
 */
public class ScProductConstant {

    //超期状态常量
    public static final String  NORMAL = "OVERDUE_STATE1"; // 正常

    public static final String  TIME_OUT = "OVERDUE_STATE2"; //  超期
    /* ----------------- 生产子订单状态  开始-----------------*/
    /**
     * 下单待分配
     */
    public static final String SC_TO_RECEIVE_XDDJS = "ZZSC_STATE_SCPROORDER_CODE1";

    /**
     * 分配待接收
     */
    public static final String SC_TO_RECEIVE_FPDJS = "ZZSC_STATE_SCPROORDER_CODE2";

    /**
     * 转单待接收
     */
    public static final String SC_TO_RECEIVE_ZDDJS = "ZZSC_STATE_SCPROORDER_CODE3";


    /**
     * 移交待接收
     */
    public static final String SC_TO_RECEIVE_YJDJS = "ZZSC_STATE_SCPROORDER_CODE4";

    /**
     * 退回待接收
     */
    public static final String SC_TO_RECEIVE_TDDJS = "ZZSC_STATE_SCPROORDER_CODE5";

    /**
     * 办理中
     */
    public static final String SC_ORDER_IN_PROCESS = "ZZSC_STATE_SCPROORDER_CODE6";

    /**
     * 暂停
     */
    public static final String SC_ORDER_SUSPEND = "ZZSC_STATE_SCPROORDER_CODE7";

    /**
     * 退单待审核
     */
    public static final String SC_ORDER_CHARGEBACK_DSH = "ZZSC_STATE_SCPROORDER_CODE8";

    /**
     * 退单驳回
     */
    public static final String SC_ORDER_CHARGEBACK_TDBH = "ZZSC_STATE_SCPROORDER_CODE9";


    /**
     * 已退单
     */
    public static final String SC_ORDER_FINISHED_CHARGEBACK = "ZZSC_STATE_SCPROORDER_CODE10";


    /**
     * 生产(正常)完结
     */
    public static final String SC_ORDER_OVER = "ZZSC_STATE_SCPROORDER_CODE11";

    /**
     * 生产超期完结
     */
    public static final String SC_ORDER_OVER_OVERDUE = "ZZSC_STATE_SCPROORDER_CODE12";
    /**
     * 生产强制完结
     */
    public static final String SC_ORDER_OVER_FORCE = "ZZSC_STATE_SCPROORDER_CODE13";

    /**
     * 生产订单退回待分配
     */
    public static final String SC_ORDER_BACK_TO_ALLOT = "ZZSC_STATE_SCPROORDER_CODE14";

    /**
     * 生产结项
     */
    public static final String SC_ORDER_JUNCTIONS = "ZZSC_STATE_SCPROORDER_CODE15";

    /**
     * 证书完结
     */
    public static final String SC_ORDER_OVER_CERTIFICATE = "ZZSC_OPERATION_CODE16";
    /**
     * 终止
     */
    public static final String SC_ORDER_STOP = "ZZSC_STATE_SCPROORDER_CODE18";

    /* ----------------- 生产子订单状态  结束-----------------*/

    /* ----------------- 生产订单操作相关常量 开始 ----------------- */
    /**
     * 发起退单申请
     */
    public static final String SC_CZ_APPLY_RETURN = "ZZSC_OPERATION_CODE1";

    /**
     * 退单审核通过
     */
    public static final String SC_CZ_PASS_RETURN = "ZZSC_OPERATION_CODE2";

    /**
     * 退单审核驳回
     */
    public static final String SC_CZ_REFUSE_RETURN = "ZZSC_OPERATION_CODE3";

    /**
     * 退单撤回
     */
    public static final String SC_CZ_WITHDRAWN_RETURN = "ZZSC_OPERATION_CODE4";

    /**
     * 订单暂停
     */
    public static final String SC_CZ_WITHDRAWN_SUSPEND = "ZZSC_OPERATION_CODE5";

    /**
     * 退单变更审核人
     */
    public static final String SC_CZ_WITHDRAWN_AUDITOR_TD = "ZZSC_OPERATION_CODE6";

    /**
     * 移交
     */
    public static final String SC_CZ_WITHDRAWN_TURNOVER = "ZZSC_OPERATION_CODE7";

    /**
     * 退单恢复办理
     */
    public static final String SC_CZ_WITHDRAWN_CHARGEBACK_HF = "ZZSC_OPERATION_CODE8";

    /**
     * 生产订单 退回
     */
    public static final String SC_CZ_REFUSE_BACK = "ZZSC_OPERATION_CODE9";

    /**
     * 接收生产子订单
     */
    public static final String SC_CZ_RECEIVE_SC_PRODUCT_ORDER = "ZZSC_OPERATION_CODE10";


    /**
     * 暂停恢复办理
     */
    public static final String SC_CZ_SUSPEND_HF = "ZZSC_OPERATION_CODE11";

    /**
     * 分配生产订单
     */
    public static final String SC_CZ_ALLOT_ORDER = "ZZSC_OPERATION_CODE12";

    /**
     * 更新节点
     */
    public static final String SC_CZ_UPDATE_NODE = "ZZSC_OPERATION_CODE13";

    /**
     * 生产子订单  备注
     */
    public static final String SC_SC_PRODUCT_ORDER_REMARK = "ZZSC_OPERATION_CODE14";

    /**
     * 生产子订单发起结项
     */
    public static final String SC_SC_JUNCTIONS = "ZZSC_OPERATION_CODE15";


    /* ----------------- 生产订单操作相关常量 结束 ----------------- */


    /* -----------------销售子订单相关常量 开始 ----------------- */
    /**
     * 销售子订单付款类型
     */
    public static final String ORF_SK_NATURE = "ORF_SK_NATURE";

    /**
     * 销售子订单付款状态
     */
    public static final String PRODUCT_CHARGE_STATE = "PRODUCT_CHARGE_STATE";
    /**
     * 已支付
     */
    public static final String ALREAADY_PAY = "ALREAADY_PAY";
    /* -----------------销售子订单相关常量 结束 ----------------- */


    /* -----------------产品code 开始 ----------------- */
    /**
     * 收证
     */
    public static final String CHARGE_CARD = "CHARGE_CARD";

    /* -----------------产品code 结束 ----------------- */


    /*--------------------------------------订单来源方式 开始--------------------------*/


    public static final String ORDER_SOURCE_DISTRIBUTION="ORDER_SOURCE_DISTRIBUTION";//分配

    public static final String ORDER_SOURCE_SLIP="ORDER_SOURCE_SLIP";//转单

    public static final String ORDER_SOURCE_TRANSFER="ORDER_SOURCE_TRANSFER";//移交

    public static final String ORDER_SOURCE_SLIP_RETURN="ORDER_SOURCE_SLIP_RETURN";//转单退回

    public static final String ORDER_SOURCE_TRANSFER_RETURN="ORDER_SOURCE_TRANSFER_RETURN";//移交退回

    /*--------------------------------------订单来源方式 结束--------------------------*/

    /*--------------------------------------工作日自然日 开始--------------------------*/

    public static final int WORKDAY_STATUS = 1; // 工作日
    public static final int NATURALDAY_STATUS = 2; // 自然日

    /* ============= 生产原因相关常量 ============= */

    /**
     * 退单原因
     */
    public static final String RETURENED_REASON = "ZZSC_CHARGEBACK_REASON";
    //系统消息发送的ID
    public static final Long ID = 1L;
}